package cn.pzhu.pserson.dto;

import cn.pzhu.pserson.util.BeanUtil;
import cn.pzhu.pserson.model.Rules;
import java.io.Serializable;


public class RulesDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String content;
        
        public String getContent() {
            return this.content;
        }
        
        public void setContent(String content) {
            this.content = content;
        }
        
        public Rules toModel() {
            Rules model = new Rules();
			BeanUtil.convert(this, model);
			return model;
        }
    
}